﻿using System;


namespace LoD.WPClientLibrary.Animations {
    public class ClockHand : Animation {
        public ClockHand(int direction) //0 to 59
        {
            Animating = true;
            this.Direction = direction;
        }

        public int Direction { get; set; }

        public override float ModifyRotation(float original) {
            float angle = (this.Direction / 60.0f) * (float)(2.0f * Math.PI);
            return angle;
        }
    }
}